Valued\WordPress\BasePlugin A

Total Complexity 52
Dependencies 5
Dependents 3
Total lines 309
Lines of code 245
Logical lines of code 91
Comment lines 14
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
getCustomAttributes()
S
49 6 32
getSelectOptions()
S
58 4 15
init()
S
58 3 15
isUniqueAttribute()
S
66 4 8
getOption()
S
63 3 11
locateTemplate()
S
69 3 6
getProductMetaKeys()
S
55 1 22
activatePlugin()
S
61 1 16
getInstance()
S
70 2 6
showUpdateNotice()
S
68 2 7
addUpdateNoticeDismissScript()
S
61 1 13
getProductKeys()
S
60 1 13
getMetaValue()
S
63 1 12
getDefaultConfig()
S
68 1 8
getVersion()
S
82 1 3
shouldDisplayUpdateNotice()
S
69 1 7
dismissUpdateNotice()
S
72 1 6
getUpdateNoticeDismissedAjaxHook()
S
80 1 3
getUpdateNoticeClass()
S
80 1 3
getUpdateNotices()
S
82 1 3
getUpdateMessage()
S
79 1 3
getDashboardDomain()
S
100 1 0
isValidGtin()
S
79 1 3
getMainDomain()
S
100 1 0
getName()
S
100 1 0
getActiveGtinPlugin()
S
76 1 4
isWoocommerceActivated()
S
80 1 3
getPluginFile()
S
74 1 4
render()
S
71 1 6
getInviteErrorsTable()
S
78 1 3
getOptionName()
S
79 1 3
loadTranslations()
S
70 1 7
getSlug()
S
100 1 0